package com.zhonghui.modlules.product.eshopVo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

public class ReplyCountVo  implements Serializable {
    @ApiModelProperty("总的评论数")
    private Integer sumCount;
    @ApiModelProperty("好评数")
    private Integer goodCount;
    @ApiModelProperty("中评数")
    private Integer inCount;
    @ApiModelProperty("差评数")
    private Integer poorCount;
    @ApiModelProperty("好评率")
    private String replyChance;
    @ApiModelProperty("好评星星数")
    private String replySstar;

    public static ReplyCountVo.ReplyCountVoBuilder builder() {
        return new ReplyCountVo.ReplyCountVoBuilder();
    }

    public Integer getSumCount() {
        return this.sumCount;
    }

    public Integer getGoodCount() {
        return this.goodCount;
    }

    public Integer getInCount() {
        return this.inCount;
    }

    public Integer getPoorCount() {
        return this.poorCount;
    }

    public String getReplyChance() {
        return this.replyChance;
    }

    public String getReplySstar() {
        return this.replySstar;
    }

    public void setSumCount(final Integer sumCount) {
        this.sumCount = sumCount;
    }

    public void setGoodCount(final Integer goodCount) {
        this.goodCount = goodCount;
    }

    public void setInCount(final Integer inCount) {
        this.inCount = inCount;
    }

    public void setPoorCount(final Integer poorCount) {
        this.poorCount = poorCount;
    }

    public void setReplyChance(final String replyChance) {
        this.replyChance = replyChance;
    }

    public void setReplySstar(final String replySstar) {
        this.replySstar = replySstar;
    }

    public ReplyCountVo(final Integer sumCount, final Integer goodCount, final Integer inCount, final Integer poorCount, final String replyChance, final String replySstar) {
        this.sumCount = sumCount;
        this.goodCount = goodCount;
        this.inCount = inCount;
        this.poorCount = poorCount;
        this.replyChance = replyChance;
        this.replySstar = replySstar;
    }

    public ReplyCountVo() {
    }

    public static class ReplyCountVoBuilder {
        private Integer sumCount;
        private Integer goodCount;
        private Integer inCount;
        private Integer poorCount;
        private String replyChance;
        private String replySstar;

        ReplyCountVoBuilder() {
        }

        public ReplyCountVo.ReplyCountVoBuilder sumCount(final Integer sumCount) {
            this.sumCount = sumCount;
            return this;
        }

        public ReplyCountVo.ReplyCountVoBuilder goodCount(final Integer goodCount) {
            this.goodCount = goodCount;
            return this;
        }

        public ReplyCountVo.ReplyCountVoBuilder inCount(final Integer inCount) {
            this.inCount = inCount;
            return this;
        }

        public ReplyCountVo.ReplyCountVoBuilder poorCount(final Integer poorCount) {
            this.poorCount = poorCount;
            return this;
        }

        public ReplyCountVo.ReplyCountVoBuilder replyChance(final String replyChance) {
            this.replyChance = replyChance;
            return this;
        }

        public ReplyCountVo.ReplyCountVoBuilder replySstar(final String replySstar) {
            this.replySstar = replySstar;
            return this;
        }

        public ReplyCountVo build() {
            return new ReplyCountVo(this.sumCount, this.goodCount, this.inCount, this.poorCount, this.replyChance, this.replySstar);
        }

        public String toString() {
            return "ReplyCountVo.ReplyCountVoBuilder(sumCount=" + this.sumCount + ", goodCount=" + this.goodCount + ", inCount=" + this.inCount + ", poorCount=" + this.poorCount + ", replyChance=" + this.replyChance + ", replySstar=" + this.replySstar + ")";
        }
    }
}
